package Lesson2;

import java.util.Scanner;

public class Exercise7 {

	public static void main(String[] args) {

	Scanner sc = new Scanner (System.in);
		System.out.println("Please add a number: ");

	int n = sc.nextInt();
	int a = 3;
	
		System.out.print(a);
	
	for (int i = 1; i < n ; i++)
	{
		a +=3;
		
		System.out.print(", " + a);
		
				}
	}	
	}